<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>对话框</title>
  <!-- 引入图标 -->
  <link rel="stylesheet" href="../css/iconfont.css">
  <!-- 引入对话框样式 -->
  <link rel="stylesheet" href="./dialog.css">
  <!-- 引入对话框js -->
  <script src="./dialog.js"></script>
</head>
<body>
  <!-- 单个确定按钮对话框 -->
  <!-- title == 对话框标题 -->
  <!-- content == 对话框内容 -->
  <div class="dialog dialog-show" id="dialog" title="提示标题" content="提示内容">
    <div class="dialog-box">
      <div class="title">
        <h3>
          <span></span>
          <i class="icon-close" id="close"></i>
        </h3>
      </div>
      <!-- 显示内容 -->
      <div class="content">
        <p></p>
      </div>
      <div class="footer">
        <button class="button">确定</button>
      </div>
    </div>
  </div>
</body>
</html>